package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 应付账查询信息
 * @date 2020-08-14 15:08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "应付账查询信息", description = "应付账查询信息")
public class PayableQueryReq extends BaseReqObj {

    private static final long serialVersionUID = 2733717619257381023L;

    @ApiModelProperty(value = "客户名称", notes = "客户名称", required = true)
    @NotEmpty(message = "客户名称不能为空")
    private String userName;

    @ApiModelProperty(value = "提单号", notes = "提单号")
    private String tdNo;

    @ApiModelProperty(value = "币种", notes = "币种", example = "RMB")
    private String currency;

    @ApiModelProperty(value = "开始船期\n格式为：yyyy-MM-dd", notes = "开始船期\n格式为：yyyy-MM-dd")
    private String startDate;

    @ApiModelProperty(value = "结束船期\n格式为：yyyy-MM-dd", notes = "结束船期\n格式为：yyyy-MM-dd")
    private String endDate;

    @ApiModelProperty(value = "费用到期日\n格式为：yyyy-MM-dd", notes = "费用到期日\n格式为：yyyy-MM-dd")
    private String feesDueDate;

}
